<div id="main_wrap">
    <div class="center_wrap clearfix">
        <h2 class="no_top breadcrumb">
            <a>{$lang846}</a>
        </h2>
        {include file="accountmenu.tpl"} 
        <div class="right col1">
            <div class="cat_box_full clearfix"> 
                <p class="right results">{if $error eq ""}{$beginning} - {$ending} {$lang61} {$total} {$lang796}{/if}</p>
                <ul id="search_nav" class="clearfix">
                    <li class="current">{$showtitle}<span></span></li>
                </ul>
                <div class="cat_body_full clearfix">
                    {if $error ne ""}
                        {include file="show_error.tpl"}
                    {/if}
                    {if $message ne ""}
                        {include file="show_message.tpl"}
                    {/if}

                    <!-- LOOP START -->
                    <form id="deleteform" name="deleteform" action="{$baseurl}/myaudios.php" method="post">
                        {section name=i loop=$listaudios}
                            <div class="search_row">
                                <div class="aud_cont">
                                    <span class="channel_thumb">
                                        <a href="{$baseurl}/audios/{$listaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$listaudios[i].AUDIOID}">
                                        {capture assign='player'}images/audiothumbs/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}{/capture} 
                                        {if $player|file_exists}
                                            <img alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}" />
                                        {else}
                                            <img alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/default.png" />
                                        {/if}

                                    </a>
                                </span>
                            </div>

                            <h4 class="blue no_bottom"><a href="{$baseurl}/myaudiosedit.php?AUDIOID={$listaudios[i].AUDIOID}">{$listaudios[i].title|stripslashes}</a></h4>
                            <p class="no_top no_bottom pink">{$lang672}: <a href="{$baseurl}/{insert name=get_username_from_userid value=var USERID=$listaudios[i].USERID}">{insert name=get_username_from_userid value=var USERID=$listaudios[i].USERID}</a></p>
                            <div></div>
                            <p>{insert name=get_runtime value=var runtime=$listaudios[i].runtime} | {$listaudios[i].viewcount} {$lang60}{if $listaudios[i].allowcomments ne "0"} | {$listaudios[i].commentcount} {$lang63}{/if}</p>
                            {if $listaudios[i].allowratings ne "0"}
                                <p>
                                <nobr>
                                    {insert name=get_rating_stars rating=$listaudios[i].rating}
                                </nobr><div style="clear:both"></div>
                                ({$listaudios[i].ratingcount} {if $listaudios[i].ratingcount eq "1"}{$lang65}{else}{$lang66}{/if})
                                </p>
                            {/if}
                            <p class="text_gray2 no_bottom no_top">
                                {$lang64} {$listaudios[i].time_added|date_format:"%b %e, %Y"}
                            </p>
                            <p>{$lang847} <input type="checkbox" name="deleteaudio[]" value="{$listaudios[i].AUDIOID}"></p>
                        </div>
                    {/section}
                    <input type="submit" name="submitdelete" value="{$lang485}" />
                </form>
                <!-- LOOP END -->

            </div>

            <div class="paginate">
                {$pagelinks}
                <p class="left">{if $error eq ""}{$beginning} - {$ending} {$lang61} {$total} {$lang796}{/if}</p>
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
</div>